home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / libraries / maestix37_20.lha / Maestix / Install-E < prev    next >
Encoding:
Text File  |  1995-03-15  |  2.1 KB  |  77 lines

  1. ; ************************************************
  2. ; *
  3. ; * Maestix - HD Install Script (English)
  4. ; *
  5. ; * $VER: Install-Maestix 1.00
  6. ; *
  7. ; * Script written by Richard Körber
  8. ; *
  9. ; ************************************************
  10.  
  11. ;------- Prompts ---------------------------------
  12. ;
  13. (set CopyLibPrompt      "Copy maestix.library?")
  14. (set ToolDirPrompt      "Copy Maestix tools to...")
  15. (set ToolCopyPrompt     "Copying Tools...")
  16. (set OptInpPrompt       "Changing User-Startup (optical input)?")
  17. (set CxInpPrompt        "Changing User-Startup (coaxial input)?")
  18. (set DefInputPrompt     "Which input do you usually use?")
  19.  
  20. ;------- Help ------------------------------------
  21. ;
  22. (set DefInputHelp       "Here you choose the input which will be\nused by the library as standard input.\n\nUsually, this is the input which is\nselected on the Maestro card, too.")
  23.  
  24. ;------- Messages --------------------------------
  25. ;
  26. (set StartupMsg         "\nMaestix Installation\n\n This program installs the maestix\nlibrary to your harddisk.\n\nPlease read the copyright notes,\nbefore you use this library.\n\n\If you do not agree with this note,\nyou have to delete the library\nand all related files!")
  27.  
  28. ;------- Files -----------------------------------
  29. ;
  30. (set ToolSource         "c/")
  31. (set LibSource          "libs/maestix.library")
  32.  
  33. ;------- Installation ----------------------------
  34. ;
  35. (message StartupMsg)
  36. (set DefInput (askchoice
  37.     (prompt DefInputPrompt)
  38.     (help   DefInputHelp)
  39.     (choices ("Optical input") ("Coaxial input"))
  40. ))
  41. (set ToolDir (askdir
  42.     (prompt ToolDirPrompt)
  43.     (help   @askdir-help)
  44.     (default "C:")
  45. ))
  46. (copyfiles
  47.     (prompt ToolCopyPrompt)
  48.     (help   @copyfiles-help)
  49.     (source ToolSource)
  50.     (dest   ToolDir)
  51.     (all)
  52.     (confirm)
  53.     (infos)
  54. )
  55. (copylib
  56.     (prompt CopyLibPrompt)
  57.     (help   @copylib-help)
  58.     (source LibSource)
  59.     (dest   "LIBS:")
  60.     (confirm)
  61. )
  62. (if (= DefInput 0)
  63.     (startup
  64.         ("Maestix")
  65.         (prompt OptInpPrompt)
  66.         (help   @startup-help)
  67.         (command "SetMstx >NIL: INPUT=optical")
  68.     )
  69.     (startup
  70.         ("Maestix")
  71.         (prompt CxInpPrompt)
  72.         (help   @startup-help)
  73.         (command "SetMstx >NIL: INPUT=coaxial")
  74.     )
  75. )
  76. ;------- Done ------------------------------------
  77.